package com.laosg.framework.recaptcha;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>description: some thing </p>
 *
 * @author kevinruan@pano.im
 * @date 2020/1/16
 */
@Data
@AllArgsConstructor
public class GoogleResponse implements Serializable {

    private Boolean success;
    private float score;
    private String action;
    @JsonProperty("challenge_ts")
    private LocalDateTime challengeTs;
    private String hostname;
    @JsonProperty("error-codes")
    private String[] errorCodes;
}
